package com.atguigu.anno;

import com.atguigu.config.InterceptorConfig;
import com.atguigu.interceptor.CurrentUserInfoInterceptor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({CurrentUserInfoInterceptor.class, InterceptorConfig.class})
public @interface EnableGetCurrentUserAuthCheck {
}
